(function(TYPES,typeId){
    function my_b(){
        var that = this;
        this.run=function(len1){
            var my_a = ME.run(len1);
            my_a.onComplete=function(){
                var a = 1;
                var b = 2;
                var c = 3;
                that.onComplete(a);
            }
        }
        this.onComplete=function(result){
            return result;
        }
    }    TYPES.registerType(typeId,my_b);
})(RULES,"test16-1");
